<:!:/><!--
/**
 * @file edit.html
 * @author Alejandro Dario Simi
 * @date $Date: 2014-05-04 01:33:52 +0000 (Sun, 04 May 2014) $
 *
 * $Id: edit.html 111 2014-05-04 01:33:52Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/trunk/skins/Skoll/actions/rule/tare/edit.html $
 */
--><::/><div class="InfoBox">
	<div class="Row">
		<div class="Label"><:TR:/>label_rule<::/>:</div>
		<div class="Values"><a href="?action=<:VAR:/>WC_ACTION_RULE_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&rule=<:VAR:/>info_rule_id<::/>"><:VAR:/>info_rule_name<::/></a></div>
	</div>
	<div class="Row">
		<div class="Label"><:TR:/>label_name<::/>:</div>
		<div class="Values"><:VAR:/>info_name<::/></div>
	</div>
	<div class="Row">
		<div class="Label"><:TR:/>label_type<::/>:</div>
		<div class="Values"><:VAR:/>info_type<::/></div>
	</div>
	<div class="Row">
		<div class="Label"><:TR:/>label_mode<::/>:</div>
		<div class="Values"><:VAR:/>info_mode<::/></div>
	</div>
</div>

<:IF:var=info_mode:value=ALSO:/>
<form action="#" method="get" onsubmit="Skoll.actions.rule.tare.editALSO(this)">
	<input type="hidden" id="ruleid" value="<:VAR:/>info_rule_id<::/>"/>
	<input type="hidden" id="actionid" value="<:VAR:/>info_id<::/>"/>
	<input type="hidden" id="task" value="add"/>
	<!--div class="Title">test form</div>
	<div class="Help">
		some help text.<br/>
		some help text.<br/>
		some help text some help text.<br/>
		some help text.<br/>
	</div-->
	<div class="Fields">
		<div class="Field">
			<div class="Label"><:TR:/>label_name<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="name" value="<:VAR:/>info_name<::/>"/></div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tag_to_seek<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="tag" value="<:VAR:/>target<::/>" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"><:ISSET:var=target_id:/><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>target_id<::/>"><:TR:/>label_go_to<::/></a><::/></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tags_to_add<::/></div>
			<div class="Required"></div>
			<div class="Value" id="currents">
				<:OVER:list=also:/><div class="CheckContainer">
					<input type="checkbox" value="x" id="tag_<:VAR:/>id<::/>" wctag="<:VAR:/>id<::/>"/>
					<label for="tag_<:VAR:/>id<::/>"><:VAR:/>name<::/></label>
					<div class="Description"><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>id<::/>"><:TR:/>label_go_to<::/></a></div>
				</div><::/>
			</div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_add_tags<::/></div>
			<div class="Required"></div>
			<div class="Value"><input type="text" id="seek" value="" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"></div>
		</div>
	</div>
	<div class="Buttons">
		<input type="submit" value="<:TR:/>button_save<::/>"            onclick="$('#task').val('add');"/>
		<input type="submit" value="<:TR:/>button_remove_selected<::/>" onclick="$('#task').val('remove');"/>
		<input type="submit" value="<:TR:/>button_return<::/>"          onclick="$('#task').val('');document.location.href='?action=<:VAR:/>WC_ACTION_RULE_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&rule=<:VAR:/>info_rule_id<::/>';return false;"/>
	</div>
</form>
<::/>
<:IF:var=info_mode:value=POOL:/>
<form action="#" method="get" onsubmit="Skoll.actions.rule.tare.editPOOL(this)">
	<input type="hidden" id="ruleid" value="<:VAR:/>info_rule_id<::/>"/>
	<input type="hidden" id="actionid" value="<:VAR:/>info_id<::/>"/>
	<input type="hidden" id="task" value="add"/>
	<!--div class="Title">test form</div>
	<div class="Help">
		some help text.<br/>
		some help text.<br/>
		some help text some help text.<br/>
		some help text.<br/>
	</div-->
	<div class="Fields">
		<div class="Field">
			<div class="Label"><:TR:/>label_name<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="name" value="<:VAR:/>info_name<::/>"/></div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tags_pool<::/></div>
			<div class="Required">*</div>
			<div class="Value" id="currents">
				<:OVER:list=tags:/><div class="CheckContainer">
					<input type="checkbox" value="x" id="tag_<:VAR:/>id<::/>" wctag="<:VAR:/>id<::/>"/>
					<label for="tag_<:VAR:/>id<::/>"><:VAR:/>name<::/></label>
					<div class="Description"><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>id<::/>"><:TR:/>label_go_to<::/></a></div>
				</div><::/>
			</div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_add_tags<::/></div>
			<div class="Required"></div>
			<div class="Value"><input type="text" id="seek" value="" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"></div>
		</div>
	</div>
	<div class="Buttons">
		<input type="submit" value="<:TR:/>button_save<::/>"            onclick="$('#task').val('add');"/>
		<input type="submit" value="<:TR:/>button_remove_selected<::/>" onclick="$('#task').val('remove');"/>
		<input type="submit" value="<:TR:/>button_return<::/>"          onclick="$('#task').val('');document.location.href='?action=<:VAR:/>WC_ACTION_RULE_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&rule=<:VAR:/>info_rule_id<::/>';return false;"/>
	</div>
</form>
<::/>
<:IF:var=info_mode:value=IF:/>
<form action="#" method="get" onsubmit="Skoll.actions.rule.tare.editIF(this)">
	<input type="hidden" id="ruleid" value="<:VAR:/>info_rule_id<::/>"/>
	<input type="hidden" id="actionid" value="<:VAR:/>info_id<::/>"/>
	<input type="hidden" id="task" value="add"/>
	<!--div class="Title">test form</div>
	<div class="Help">
		some help text.<br/>
		some help text.<br/>
		some help text some help text.<br/>
		some help text.<br/>
	</div-->
	<div class="Fields">
		<div class="Field">
			<div class="Label"><:TR:/>label_name<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="name" value="<:VAR:/>info_name<::/>"/></div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tag_to_add<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="tag" value="<:VAR:/>target<::/>" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"><:ISSET:var=target_id:/><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>target_id<::/>"><:TR:/>label_go_to<::/></a><::/></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tags_to_seek<::/></div>
			<div class="Required"></div>
			<div class="Value" id="currents">
				<:OVER:list=also:/><div class="CheckContainer">
					<input type="checkbox" value="x" id="tag_<:VAR:/>id<::/>" wctag="<:VAR:/>id<::/>"/>
					<label for="tag_<:VAR:/>id<::/>"><:VAR:/>name<::/></label>
					<div class="Description"><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>id<::/>"><:TR:/>label_go_to<::/></a></div>
				</div><::/>
			</div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_add_tags<::/></div>
			<div class="Required"></div>
			<div class="Value"><input type="text" id="seek" value="" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"></div>
		</div>
	</div>
	<div class="Buttons">
		<input type="submit" value="<:TR:/>button_save<::/>"            onclick="$('#task').val('add');"/>
		<input type="submit" value="<:TR:/>button_remove_selected<::/>" onclick="$('#task').val('remove');"/>
		<input type="submit" value="<:TR:/>button_return<::/>"          onclick="$('#task').val('');document.location.href='?action=<:VAR:/>WC_ACTION_RULE_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&rule=<:VAR:/>info_rule_id<::/>';return false;"/>
	</div>
</form>
<::/>
<:IF:var=info_mode:value=MERGE:/>
<form action="#" method="get" onsubmit="Skoll.actions.rule.tare.editMERGE(this)">
	<input type="hidden" id="ruleid" value="<:VAR:/>info_rule_id<::/>"/>
	<input type="hidden" id="actionid" value="<:VAR:/>info_id<::/>"/>
	<input type="hidden" id="task" value="add"/>
	<!--div class="Title">test form</div>
	<div class="Help">
		some help text.<br/>
		some help text.<br/>
		some help text some help text.<br/>
		some help text.<br/>
	</div-->
	<div class="Fields">
		<div class="Field">
			<div class="Label"><:TR:/>label_name<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="name" value="<:VAR:/>info_name<::/>"/></div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tags_to_leave<::/></div>
			<div class="Required">*</div>
			<div class="Value"><input type="text" id="tag" value="<:VAR:/>target<::/>" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"><:ISSET:var=target_id:/><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>target_id<::/>"><:TR:/>label_go_to<::/></a><::/></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_tags_to_remove<::/></div>
			<div class="Required"></div>
			<div class="Value" id="currents">
				<:OVER:list=also:/><div class="CheckContainer">
					<input type="checkbox" value="x" id="tag_<:VAR:/>id<::/>" wctag="<:VAR:/>id<::/>"/>
					<label for="tag_<:VAR:/>id<::/>"><:VAR:/>name<::/></label>
					<div class="Description"><a target="_blank" href="?action=<:VAR:/>WC_ACTION_TAG_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&tag=<:VAR:/>id<::/>"><:TR:/>label_go_to<::/></a></div>
				</div><::/>
			</div>
			<div class="Description"></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_add_tags<::/></div>
			<div class="Required"></div>
			<div class="Value"><input type="text" id="seek" value="" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"></div>
		</div>
	</div>
	<div class="Buttons">
		<input type="submit" value="<:TR:/>button_save<::/>"            onclick="$('#task').val('add');"/>
		<input type="submit" value="<:TR:/>button_remove_selected<::/>" onclick="$('#task').val('remove');"/>
		<input type="submit" value="<:TR:/>button_return<::/>"          onclick="$('#task').val('');document.location.href='?action=<:VAR:/>WC_ACTION_RULE_SHOW<::/>&group=<:VAR:/>GROUP_ID<::/>&rule=<:VAR:/>info_rule_id<::/>';return false;"/>
	</div>
</form>
<::/>

<script type="text/javascript">
	$(function(){
		Skoll.actions.topbar.setPath("<:VAR:/>PATH<::/>");
	});	
</script>
